import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import ArcoVue from "@arco-design/web-vue";
// import path from "path"
import "@arco-design/web-vue/dist/arco.css";
import Router from "./router/index";
import components from "./components/icons";
import Antd from "ant-design-vue";
// import "@/ant-design-vue/dist/antd.css"; // 引入样式

// import { ipcMain } from "electron";
//引入
const app = createApp(App);
// components
for (const i in components) {
  app.component(i, components[i]);
}

app.use(Antd);
app.use(ArcoVue).use(Router).mount("#app");
